package com.gitee.wsl.struct.compare

interface Similarity{
    fun similarity(first: String, second: String): Double

    companion object
}

fun String.similarWith(other:String,similarity: Similarity) = similarity.similarity(this,other)